package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;
/*
* 还款
*
* */
@Setter
@Getter
@Component
public class ReturnMoney extends BaseDomain{

    private User user;//还款用户
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date returnTime;//还款时间

    private BigDecimal returnMoney;//还款金额


}